package com.yc.pre.entity.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.yc.pre.entity.Pageable;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author baozhuangyu
 * @Date 2021/2/21  16:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AssetListRequest extends Pageable {
    @ApiModelProperty(value = "标签(1：待标记，2：系统检查无误，3：检查错误)",example = "1",required = true)
    private Integer tag;

    @ApiModelProperty(value = "标题",example = "汽车")
    private String title;

    @ApiModelProperty(value = "开始时间",example = "2021-01-28")
    @JSONField(format = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty(value = "结束时间",example = "2021-02-21")
    @JSONField(format = "yyyy-MM-dd")
    private Date endTime;
}
